package com.indusfo.spc.client.mapper;

import com.indusfo.spc.pojo.BatchRepair;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author chenm
 * @create 2019-12-09 15:41
 */
public interface ClientBatchRepairMapper {

  void insertBatchRepairList(@Param("batchRepairs") List<BatchRepair> batchRepairs);

  int insertBatchRepair(BatchRepair batchRepair);

  BatchRepair selectByBatchIdAndRepairId(@Param("batchId") Integer batchId, @Param("repairId") Integer repairId);
}
